package obj.day5;

/**
 * @author げっしょく
 * @date 2021/7/21

 */
public class Test7 {

    public static void main(String[] args) {
        int[] arr = {11,22,33,44,55};
        int[] arr1 = new int[5];
        long l = System.currentTimeMillis();
        System.out.println(l);
        for (int i = 0; i < 10000; i++) {
            System.out.println(i);
        }
        System.arraycopy(arr , 1 , arr1,1,2);
        long l1 = System.currentTimeMillis();
        System.out.println(l1);
        System.out.println(l1 - l);
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }
    }
}
